package com.ys.tdm.bean.item;

import java.io.Serializable;
import java.util.List;

import com.ys.tdm.bean.BaseModel;

/**
 * 模块信息类
 * @author Troy
 * @date 2017-12-27 15:48:30
 */
public class Item extends BaseModel implements Serializable{
    
    /**
     * 模块id
     */
    private String id;
    
    /**
     * 父级id
     */
    private String pid;
    
    private String text;
    
    private  List<Item> nodes;
    


    /**
     * 模块名
     */
    private String itemName;
    
    /**
     * 模块id
     */
    private String moduleId;
    
    /**
     * 封装树所需的必要属性（临时字段）
     */
    private String icon;
    private String type;//1为菜单，0为文档
    private String pId;
    private String name;
    
	
	 /* //临时变量-s
    private String startTime; 
    private String endTime;
    //临时变量-e
    
    public String getStartTime() {
    	return startTime;
    }
    
    public void setStartTime(String startTime) {
    	this.startTime = startTime;
    }
    
    public String getEndTime() {
    	return endTime;
    }
    
    public void setEndTime(String endTime) {
    	this.endTime = endTime;
    }*/
	
    public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getId()
    {
        return id;
    }
        
    public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<Item> getNodes() {
		return nodes;
	}

	public void setNodes(List<Item> nodes) {
		this.nodes = nodes;
	}

	public void setId(String id)
    {
        this.id = id;
    }
        
    public String getPid()
    {
        return pid;
    }
        
    public void setPid(String pid)
    {
        this.pid = pid;
    }
        
    public String getItemName()
    {
        return itemName;
    }
        
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }
        
    public String getModuleId()
    {
        return moduleId;
    }
        
    public void setModuleId(String moduleId)
    {
        this.moduleId = moduleId;
    }

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
        
  
}
